home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 2000 February / Macworld (2000-02).dmg / Updaters / WhiteCap 3.2.2.sea / WhiteCap 3.2.2 / (into Visual Plug-ins) / WhiteCap Configs / Opus Dei < prev    next >
Text File  |  1999-12-07  |  1KB  |  80 lines

  1. // It's all I have anymore to keep me motivated...
  2. // - Andy
  3.  
  4. Resn=10,
  5.  
  6. Durn="4",
  7.  
  8.  
  9.  
  10. CamX="60 * cos( 0 * .15 * t )",
  11. CamY="60 * sin( 0 * .15 * t )",
  12. CamZ="5",
  13.  
  14. CmLX="1",
  15. CmLY="0",
  16. CmLZ="-29",
  17.  
  18.  
  19. R="(1-dt) * .59",
  20. G="0",
  21. B="(1-dt) * .72",
  22.  
  23. CUpX="0",
  24. CUpY="0",
  25. CUpZ="1",
  26.  
  27.  
  28.  
  29. LvlR="1",
  30. LvlG="1",
  31. LvlB="0",
  32.  
  33.  
  34.  
  35. // Window size and position
  36. widt=590,heig=300,
  37.  
  38.  
  39. ConL=1,ConB=1,
  40.  
  41.  
  42. Fall="1",
  43.  
  44. A0="25",   // bounds XY size
  45. A1=".8",  // Theta (ie, time) scale
  46.  
  47. // We use polar cords, and our eq will be "r = c0( theta )"
  48. C0="a1 * st", // Theta
  49. C1="2 * ( 1.4 - .2 * sin( .31 * st ) -.3 * sin( .39 * st ) + .35 * cos( .44 * st ) )",
  50. C2="( abs( c1 ) + .7 ) * cos( 1.9 * c0 + .8 * sin( .42 * st ) - .7 * sin( .32 * st ) )", 
  51.  
  52. // We compute (x+dx,y+dy) to calc velocity
  53. C3="st+.08",
  54. C4="a1 * c3", // Theta + deltaT
  55. C5="2 * ( 1.4 - .3 * sin( .31 * C3 ) -.4 * sin( .39 * C3 ) + .45 * cos( .44 * C3 ) )",
  56. C6="( abs( c5 ) + .9 ) * cos( 1.9 * c4 + .8 * sin( .42 * C3 ) - .7 * sin( .32 * C3 ) )", 
  57.  
  58. C7="c6 * cos( c4 ) - c2 * cos( c0 )", // dx  (unnormalized)
  59. C8="c6 * sin( c4 ) - c2 * sin( c0 )", // dy  (unnormalized)
  60.  
  61. C9="sqrt( C7 * C7 + C8 * C8 )",
  62. C10="a0 * 2.2 / C9",
  63.  
  64. C11="a0 * c2 * cos( c0 )",
  65. C12="a0 * c2 * sin( c0 )",
  66.  
  67.  
  68. // x = r * cos( theta ), y = r * sin( theta )
  69. // c7 i - c8 j is perpendicular to path
  70. X="c11 - C10 * C8 * ( s - .5 )",
  71. Y="c12 + C10 * C7 * ( s - .5 )",
  72. Z="15 * mag( s )",
  73.  
  74.  
  75. Scal="400",
  76. ScSz=1,
  77.  
  78. Pers="120",
  79.  
  80. Vers=30